package com.unicom.room.mapper;


import com.unicom.room.model.User;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Options;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserMapper {

    public List<User> findAllUserInfo();

    public List<User> findUserInfo();

    //新增管理人员
    public int addUser(User user);
   //登陆验证
	 public User selectByUsername(String name);
	 //修改信息
    public int    updateUser(User user);
    //删除普通管理员
    public int deleteUser(@Param("name")String name);
}
